<header>{{title}}----{{msg}}</header>

<br>
<button (click)="getParentMsg()">子组件里面获取父组件传入的msg</button>
<br>
<button (click)="getParentRun()">子组件执行父组件的方法</button>